From dde588980c950ca442b4e4b16d5cb5992d24205e Mon Sep 17 00:00:00 2001 From: =?utf8?q?=3D=3FUTF-8=3Fq=3FFabi=3DC3=3DA1n=3D20Ezequiel=3D20Gallina?= =?utf8?q?=3F=3D?= Date: Thu, 17 May 2012 00:02:55 -0300 Subject: [PATCH] Do not indent at the beginning of buffer --- lisp/progmodes/python.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 250f4812a33..9a55f337996 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -452,6 +452,9 @@ START is the buffer position where the sexp starts." (start)) (cons (cond + ;; Beginning of buffer + ((bobp) + 'no-indent) ;; Inside a paren ((setq start (nth 1 ppss)) 'inside-paren) -- 2.30.2